package org.example.feign.sentinel;

import lombok.extern.slf4j.Slf4j;
import org.example.domain.MemberAddr;
import org.example.domain.Sku;
import org.example.feign.OrderMemberFeign;
import org.example.model.Result;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
@Slf4j
public class OrderMemberFeignSentinel implements OrderMemberFeign {
    @Override
    public Result<MemberAddr> getMemberAddrById(Long addrId) {
        log.error("远程接口调用失败 根据收货地址标识查询收货地址信息！！！");
        return null;
    }

    @Override
    public Result<MemberAddr> getMemberDefaultAddrByOpenId(String openId) {
        log.error("远程接口调用失败 根据openId查询用户默认收货地址信息！！！");
        return null;
    }

    @Override
    public Result<String> getNickNameByOpenId(String openId) {
        log.error("远程接口调用失败 根据openId查询会员昵称！！！");
        return null;
    }
}
